css: Implement font-stretch
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 28 Aug 2014 11:50:49 +0000 (12:50 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 28 Aug 2014 12:41:40 +0000 (13:41 +0100)
commit5ad60caa3c35f86c11545b53052acdb6b9f7a76f
tree5f325bfcd9fbb3a73c456fd6d119dd33b0a21c39
parentf05e9d26120824fac8f952fd6fb34aecfe7b96e4
css: Implement font-stretch

The font-stretch CSS property is defined in the Level 3 CSS Fonts
module, available at:

  http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch

It allows defining a normal, condensed, or expanded face to the font
description. Pango already supports it, so this is literally just the
CSS parser machinery needed to bridge our CSS to the FontDescription
API.

https://bugzilla.gnome.org/show_bug.cgi?id=735593
13 files changed:
gtk/gtkcssenumvalue.c
gtk/gtkcssenumvalueprivate.h
gtk/gtkcssprovider.c
gtk/gtkcssshorthandpropertyimpl.c
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h
testsuite/css/parser/declarations-valid-02.ref.css
testsuite/css/parser/declarations-valid-03.ref.css
testsuite/css/parser/declarations-valid-04.ref.css
testsuite/css/parser/declarations-valid-08.ref.css
testsuite/css/parser/value-inherit-shorthand.ref.css
testsuite/css/parser/value-inherit.css
testsuite/css/parser/value-initial-shorthand.ref.css